package com.weipeep.common.utils.httpclient;


public interface HttpService {

	public abstract HttpResponse execute(HttpRequest req) throws Exception;
	
	public abstract void bindInterceptor();
	
	public Object getHttpRequestBase(HttpRequest req);
	
	public void parseHeader(HttpRequest req);
	
	public void parseCookies(HttpRequest req);
	
	public void removeAllCookie();
	
	public void removeCookie(String name);
	
	public void parsePostParams(HttpRequest req);

	public void parseMartipart(HttpRequest req);
	
	public void shutdown();
	
	/**
	 * 是否被停用,false-未停,true-已停
	 * @return
	 */
	public boolean isShutdown();
	
}
